import Home from '../pages/home'
import Login from '../pages/login'
import My from '../pages/my'
import NotMatch from '../pages/notMatch'

const routes = [{
	path: '/',
	component: Home,
	exact: true,
}, {
	path: '/login',
	component: Login,
	redirectAlreayLogin: true
}, {
	path: '/my',
	component: My,
	// 是否需要登录
	auth: true
}, {
	component: NotMatch
}]

export default routes